﻿namespace EzDeploy.Core
{
    public class ExludedItem
    {
        string _value;
        MatchType _matchType;

        public MatchType MatchType
        {
            get { return _matchType; }
            set { _matchType = value; }
        }

        public string Value
        {
            get { return _value; }
            set { _value = value; }
        }

        public override string ToString()
        {
            return string.IsNullOrEmpty(_value) ? "Excluded Pattern" : string.Format("[{0}]:{1}", _matchType.ToString(), _value);
        }
    }
}
